package com.logic.modular.act.gm;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.List;

public class GMActionVo {
    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class obtainAllHero {
        @NotNull(message = "uid不能为空")
        @ApiModelProperty(value = "玩家id")
        private Long uid;
    }

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class obtainIOneWIngots {
        @NotNull(message = "uid不能为空")
        @ApiModelProperty(value = "玩家id")
        private Long uid;

        @NotNull(message = "物品id不能为空")
        @ApiModelProperty(value = "物品id")
        private String corePropId;

        @NotNull(message = "获取数量不能为空")
        @ApiModelProperty(value = "获取数量")
        private String num;
    }

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class obtainSkill {
        @NotNull(message = "uid不能为空")
        @ApiModelProperty(value = "玩家id")
        private Long uid;

        @NotNull(message = "战法id不能为空")
        @ApiModelProperty(value = "战法id")
        private Long skillId;

        @NotNull(message = "获取数量不能为空")
        @ApiModelProperty(value = "获取数量")
        private Integer num;
    }

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class obtainAllSkill {
        @NotNull(message = "uid不能为空")
        @ApiModelProperty(value = "玩家id")
        private Long uid;

        @NotNull(message = "获取数量不能为空")
        @ApiModelProperty(value = "星阶id")
        private Integer num;
    }

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class clearMatch {
        private Long matchId;
    }

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class obtainTroops {
        @NotNull(message = "玩家英雄不能为空")
        @ApiModelProperty(value = "玩家英雄id")
        private Long id;

        @NotNull(message = "获取数量不能为空")
        @ApiModelProperty(value = "获取数量")
        private Long num;
    }
    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class obtainTroops2 {
        @NotNull(message = "玩家英雄不能为空")
        @ApiModelProperty(value = "玩家英雄id")
        private List<Long> id;

        @NotNull(message = "获取数量不能为空")
        @ApiModelProperty(value = "获取数量")
        private Long num;
    }

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class createGiftKey {
        @NotNull(message = "礼品类型不能为空")
        @ApiModelProperty(value = "礼品类型")
        private int type;
        @ApiModelProperty(value = "礼品id")
        private int id;
        @ApiModelProperty(value = "礼品数量")
        private int num;
        @ApiModelProperty(value = "指定用户")
        private Long uid;
    }
}
